package core;

public class Main {

	public static void main(String[] args) {
		// Creo dos nuevos procesos
		Process P1 = new Process("P1", 0, 1);
		Process P2 = new Process("P2", 10);
		
		P1.addBurst("Active", 20);
		P1.addBurst("Blocked", 10);
		P1.addBurst("Waiting", 20);
		P2.addBurst("Waiting", 20);
		P2.addBurst("Active", 30);		
		
		System.out.println(P1.toGraphical());
		System.out.println(P2.toString());
		System.out.println(P2.toGraphical());
	}

}
